//非标
import config from '../../utils/config';
import apiCreator from '../../utils/apiCreator';

const api = apiCreator();

export default {
  // 批量确认接口
  nonStandardMaintenanceConfirm: (query) => api.post(`${config.interfaces.type5}instrument-server/regulationInfo/nonStandardMaintenanceConfirm`, query),
  //根据查询条件，获表格数据
  nonStandardMaintenance: (query) => api.post(`${config.interfaces.type5}instrument-server/regulationInfo/nonStandardMaintenance`, query),
  // 根据查询条件，获取回填信息
  nonStandardMaintenanceDetail: (query) => api.get(`${config.interfaces.type5}instrument-server/regulationInfo/nonStandardMaintenanceDetail`, query),
  // 新增/编辑
  nonStandardMaintenanceAdd: (query) => api.post(`${config.interfaces.type5}instrument-server/regulationInfo/nonStandardMaintenanceAdd`, query),
};
